package com.zpl.user.service;

import com.zpl.user.entity.User;

import java.util.List;

public interface UserService {
    boolean insert(User user);
    boolean delete(Long id);
    boolean update(User user);
    boolean login(String username,String password);
    User getUserById(Long id);
    List<User> getUserByUsername(String username);
    List<User> getUserByUsername();
    List<User> getALLUser();
}
